package Qm;

public class StringArrayExample {
    public static void main(String[] args) {
        // 创建一个字符串数组
        String[] stringArray = {
                "Hello",
                "World",
                "Java",
                "Programming",
                "Example"
        };

        // 遍历数组并打印每个字符串
        for (int i = 0; i < stringArray.length; i++) {
            System.out.println(stringArray[i]);
        }
    }
}
